public class Test1 {
	public static void main(String[] args) {
		Person person1=new Person("123");
		Person person2=new Person("123");
		HashBuck1<Person, String> hash1=new HashBuck1<>();
		System.out.println(person1.hashCode());
		System.out.println(person2.hashCode());
		hash1.put(person1,"张三");
		System.out.println(hash1.get(person2));//打印空的原因是没有告诉比较的方式
	}
}
